<!--
//****************************************************************/
//Creation History
// Company: GZ office
// NAME:    CostCenterList.jsp
// TITLE:   Cost Center Column Accessibility Maintenance 
// BY:      Oscar Bai
// DATE:    03/03/2003
//******************************************************************/
//Modification History
//******************************************************************/
//******************************************************************/
-->

<html>
<%@ include file="../header.jsp" %>
<%@ page import="admin.system.costcenter.*" %>
<body>
<%   CostCenterBean[] costCenters = (CostCenterBean[])request.getAttribute("costCenters");
     if (costCenters==null)
        costCenters = new CostCenter[0];  %>
<body >
<h2>Cost Center Maintenance</h2>
<INPUT type=button value=Back onclick=javascript:history.back()>
<table cols=2 border=1 >
<thead>
  <td><b>Cost Center ID</b></td>
  <td><b>Cost Center Name</b></td>
  <td><b>Cost Center Description</b></td>
</thead>
<%  for (int i=0; i<costCenters.length; i++)
    {   %>
<tr>
    <td><a href="<%=contextPath%>/servlet/admin.system.costcenter.CostCenterSearch?formAction=Update&cost_center_id=<%=costCenters[i].getCost_Center_id()%>" ><%=costCenters[i].getCost_Center_id()%></a></td>
    <td><%=costCenters[i].getCost_Center_name()%></td>
    <td><%=costCenters[i].getCost_Center_des()%></td>
</tr>
<%  } %>
</table>
</body>
<%@ include file="../footer.jsp" %>
</body>
</html>

